package so.sao.shop.supplier.domain.authorized;

/**
 * 权限实体
 *
 * @author
 * @create 2017-07-08 21:33
 **/
public class Permission {

	private Long id;
	/**
	 * 权限码
	 */
	private String code;
	/**
	 * 权限名称
	 */
	private String name;
	/**
	 * 权限类型【1、后台接口,2、菜单,3、按钮】
	 */
	private Integer type;
	/**
	 * 前端url
	 */
	private String routeUrl;
	/**
	 * 后端url
	 */
	private String apiUrl;
	/**
	 * 权限描述
	 */
	private String description;
	/**
	 * 权限排序
	 */
	private int sort;
	/**
	 * 前端标签
	 */
	private String icon;
	/**
	 * 父级id
	 */
	private Long parentId;
	/**
	 * 是否选中
	 */
	private int isCheck;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getRouteUrl() {
		return routeUrl;
	}

	public void setRouteUrl(String routeUrl) {
		this.routeUrl = routeUrl;
	}

	public String getApiUrl() {
		return apiUrl;
	}

	public void setApiUrl(String apiUrl) {
		this.apiUrl = apiUrl;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public int getIsCheck() {
		return isCheck;
	}

	public void setIsCheck(int isCheck) {
		this.isCheck = isCheck;
	}
}
